package com.property.manage.model.village;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("小区管理")
@TableName("t_quarters")
public class Village {
    @ApiModelProperty("id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("小区类型 1 国有 2集资 3商品房")
    private Integer type;
    @ApiModelProperty("物业基数")
    @NotNull(message = "物业基数不能为空")
    private BigDecimal propertyMoney;
    @ApiModelProperty("车位管理费")

    private BigDecimal rent;

    private String name;
}
